package com.sec.etech.process.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sec.etech.common.ModelBase;
import lombok.Data;

@Data
@TableName("spp_operation_rev")
public class SppOperationRev extends ModelBase {
    @TableId("op_rev_id")
    private Long opRevId;

    private Long processid;

    @TableField("route_rev_id")
    private Long routeRevId;
    @TableField("route_step_id")
    private Long routeStepId;
    /**
     * 计划任务主键 计划任务ID(部套/传递图)
     */
    private Long plantaskid;

    private Long partsid;
    @TableField("op_name")
    private String opName;
    @TableField("op_type_id")
    private Long opTypeId;
    @TableField("serial_num")
    private String serialNum;
    /**
     * 是否模板 0-否 1-是 GXMB开头
     */
    @TableField("is_template")
    private Integer isTemplate;
    /**
     * 知识库分类，模板专用
     */
    @TableField("kb_category_id")
    private Long kbCategoryId;
    @TableField("desc_")
    private String desc;

    private String version;
    @TableField("curr_ver")
    private Integer currVer;

    private Integer active;
    /**
     * //1:'编制中',2:'已完成',3:'已入库',9:'取消'
     */
    private Integer statusid;
    @TableField("designer_uid")
    private Long designerUid;
    @TableField("checker_uid")
    private Long checkerUid;
    @TableField("reviewer_uid")
    private Long reviewerUid;
}
